/*
 * Copyright 2017 Baiyyy
 * @(#)TAColdStorageBox.java
 */

package com.byyy.ccts.modules.cc.entity.ccts;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.byyy.ccts.core.common.entity.AbstractEntity;
import com.byyy.ccts.core.security.shiro.authz.annotation.DataPermission;

/**
 * Created by DELL on 2018-6-13.
 */
@TableName("T_A_COUVENSE")
public class TACouvense extends AbstractEntity<String> {

    /** 主键 */
    @TableId(value = "ID", type = IdType.UUID)
    private String id;

    /** 编号 */
    @TableField(value = "NO")
    private String no;

    /** 箱子容积 */
    @TableField(value="VOLUME")
    private String volume;

    /** 箱子状态 */
    @TableField(value="STATE")
    private String state;

    /** 工作状态 */
    @TableField(value="WORKING")
    private String working;

    /** 箱子属性 */
    @TableField(value="ATTR")
    private String attr;

    /** 保温箱测点 */
    @TableField(value="MEASUREPOINT")
    private String measurepoint;

    /** 仓库 */
    @DataPermission
    @TableField(value="CANGKU")
    private String cangku;

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getWorking() {
        return working;
    }

    public void setWorking(String working) {
        this.working = working;
    }

    public String getAttr() {
        return attr;
    }

    public void setAttr(String attr) {
        this.attr = attr;
    }

    public String getMeasurepoint() {
        return measurepoint;
    }

    public void setMeasurepoint(String measurepoint) {
        this.measurepoint = measurepoint;
    }

    public String getCangku() {
        return cangku;
    }

    public void setCangku(String cangku) {
        this.cangku = cangku;
    }
}
